package com.hangup.activity;

import com.devil.bbsclient.R;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.RelativeLayout;
import android.widget.TextView;

public class SchoolActivity extends BBSActivity {
	private TextView tv;
	private View schoolView;
	private Button rbt;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		// setContentView(R.layout.activity_school);
		tv = (TextView) findViewById(R.id.titleText);
		tv.setText(R.string.tabhost_tab2);

		RelativeLayout rl = (RelativeLayout) findViewById(R.id.view_main);
		LayoutInflater inflater = getLayoutInflater();
		schoolView = inflater.inflate(R.layout.activity_school, null);
		rl.addView(schoolView);

		rbt = (Button) findViewById(R.id.btRefresh);
		rbt.setOnClickListener(new refresh());

		findViewById(R.id.bbs_view).setVisibility(View.GONE);

	}

	@Override
	public void postLists() {
		// TODO Auto-generated method stub
		
	}

	private final class refresh implements OnClickListener {

		@Override
		public void onClick(View arg0) {
			// TODO Auto-generated method stub

		}

	}
}
